This document analyses the self-developed scheduler component in Android-based mobile devices as part of the SyMptOMS project.

Reproduce paper

To create the PDF of the computational notebook you can run the following commands in a new R session. If you have problems rendering the PDF you can execute each chunk independently in RStudio.

This document does not install the required R packages by default. You can run the script install.R to install all required dependencies on a new R installation, or use install.packages(..) to install missing R packages.

The plots and tables use the packages ggplot2, knitr::kable() and kableExtra.

Required libraries and runtime environment description are as follows.

library(tidyverse)
library(kableExtra)
library(here)
library(googledrive)
library(lubridate)
library(stringr)
library(scales)
library(plotly)
library(grid)
library(gridBase)
library(gridExtra)

Data download

Data preparation

Key Variables:

Scheduler assessment

Observations

Table. Descriptive data (total, ranges) per device.
exp_id scheduler device_name # observations start datetime end_datetime mean delay sd mean - 2sd mean + 2sd
#1 Advanced BQ Aquaris V 21391 2020-03-30 12:15:03 2020-04-14 13:07:57 0.638 2.168 -3.698 4.974
#1 Advanced Nvidia Shield Tablet 21453 2020-03-30 12:15:03 2020-04-14 13:08:14 0.638 2.169 -3.700 4.976
#1 Advanced Xiaomi Mi A1 21465 2020-03-30 12:23:27 2020-04-14 13:07:50 0.463 3.214 -5.965 6.891
#1 Basic Honor 9 21574 2020-03-30 12:00:03 2020-04-14 13:01:35 0.395 2.807 -5.219 6.009
#1 Basic Motorola Moto G 21619 2020-03-30 12:00:07 2020-04-14 13:01:16 1.138 2.943 -4.748 7.024
#2 Advanced Honor 9 12176 2020-04-15 11:00:02 2020-04-23 23:33:58 0.395 2.807 -5.219 6.009
#2 Advanced Motorola Moto G 11351 2020-04-16 12:09:53 2020-04-24 12:00:54 1.138 2.943 -4.748 7.024
#2 Basic BQ Aquaris V 11506 2020-04-15 11:16:26 2020-04-23 12:10:01 0.638 2.168 -3.698 4.974
#2 Basic Nvidia Shield Tablet 3528 2020-04-15 11:16:18 2020-04-17 22:27:06 0.638 2.169 -3.700 4.976
#2 Basic Xiaomi Mi A1 10832 2020-04-15 11:16:23 2020-04-23 00:52:00 0.463 3.214 -5.965 6.891

Outliers

Observations:

  • 1.7% (2.715/156.895) of outliers. Outlier breakdown below.

  • Basic - Nvidia Shield Tablet does not show outliers!

  • uneven distrintio of outliers per device!

Table. Outliers total per sheduler/device.
scheduler device_name # outliers
Advanced BQ Aquaris V 65
Basic BQ Aquaris V 2
Advanced Honor 9 114
Basic Honor 9 5
Advanced Motorola Moto G 1080
Basic Motorola Moto G 1001
Advanced Nvidia Shield Tablet 231
Advanced Xiaomi Mi A1 210
Basic Xiaomi Mi A1 7

Distribution of delay over plan_date

See the shiny app!

Distribution of delay over battery (without outliers)

Boxplots

Basic statistics applied to delay and device_name. Given a device, how do the box plots change on each scheduler?

## Warning in RColorBrewer::brewer.pal(N, "Set2"): minimal value for n is 3, returning requested palette with 3 different levels

## Warning in RColorBrewer::brewer.pal(N, "Set2"): minimal value for n is 3, returning requested palette with 3 different levels